﻿@if ((Request.IsAuthenticated) &&
    (User.IsInRole("Admin"))) {
       <li>@Html.ActionLink("Пользователи", "Users", "Admin")</li>     
       <li>@Html.ActionLink("Настройки", "ChangePassword", "Account")</li>
       <li>@Html.ActionLink("Home", "Index", "Home")</li>
    } 
    else {
        @Html.Action("Index", "Home")
    }